<form id="send_money_form" class="form-horizontal" enctype="multipart/form-data" action="<{:U('send_homework')}>" autocomplete="off" method="post" action-after="money_callback" action-before="money_before">
    <input type="hidden" name="ids" value="<{$user_ids}>">
    <div class="form-group">
        <label class="col-sm-2 control-label">用户</label>
        <div class="col-sm-7">
            <div style="width: 100%; height: 60px; overflow-y:scroll; padding:5px;" class="input_a1" rows="2">
                <volist name="user_infos" id="vo">
                    <{$vo.real_name}>(
                        <{$vo.qq}>)
                            <br>
                </volist>
            </div>
        </div>
        <div class="col-sm-3"> </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">作业链接</label>
        <div class="col-sm-7">
            <input type="text" name="url" class="form-control" value="<{$data.url}>">
        </div>
        <div class="col-sm-3"> </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">图片</label>
        <div class="col-sm-7">
            <input type="file" name="picname">
        </div>
        <div class="col-sm-3"> </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">说明</label>
        <div class="col-sm-7">
            <textarea style="width: 100%; height: 60px;" class="input_a1" id="textarea-content" name="remark" rows="2"><{$data.remark}></textarea>
        </div>
        <div class="col-sm-3"> </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-7">
            <button type="submit" class="btn btn-primary">提交</button>
        </div>
    </div>
</form>
<script>
$(function() {
    $("#send_money_form").on("ajaxSubmitSuccess", function(event, data) {
        if (data == "发放成功") {

            ajaxSubmitSuccess();
        } else {
            dialog(data);
        }
    })
})
</script>
